package com.paw.ruoyi.admin.common.constant;

/**
 * @author Rubble
 * @date 2021/8/27
 **/
public class CommonConstant {

  public static final String TOKEN = "token";

  /**
   * REQUEST_ID 请求id
   */
  public static final String HEADER_REQUEST_ID = "request-id";

  public static final String MDC_REQUEST_ID = "request_id";

  /**
   * HEADER_TRACE_ID
   */
  public static final String HEADER_TRACE_ID = "trace-id";

  public static final String MDC_TRACE_ID = "trace_id";

  /**
   * HEADER_PERM_ID
   */
  public static final String HEADER_PERM_ID = "perm-id";

  public static final String MDC_PERM_ID = "perm_id";

  /**
   * content-type
   */
  public static final String CONTENT_TYPE = "content-type";
  /**
   * user-agent
   */
  public static final String USER_AGENT = "user-agent";


  /**
   * header base64 userInfo
   */
  public static final String HEADER_USER_INFO = "user-info";


  public static final String HEADER_USER_SOURCE = "user-source";


  /**
   * 菜单按钮
   */
  public static final String MENU_BUTTON_ADD = "add";

  public static final String MENU_BUTTON_DEL = "del";

  public static final String MENU_BUTTON_EDIT = "edit";

  public static final String MENU_BUTTON_VIEW = "view";

  public static final String MENU_BUTTON_EXPORT = "export";


  public static final String TABLE_ID = "f_id";

  public static final String TABLE_LOGIC_DELETE_FIELD = "f_del_flag";

  public static final String TABLE_CREATE_TIME = "f_create_time";

  public static final String TABLE_CREATE_BY = "f_create_by";

  public static final String TABLE_UPDATE_TIME = "f_update_time";

  public static final String TABLE_UPDATE_BY = "f_update_by";


  /**
   * PROPERTY_ID
   */
  public static final String PROPERTY_ID = "id";

  /**
   * 时间字段
   */
  public static final String CREATE_TIME = "createTime";

  /**
   * 排序字段
   */
  public static final String TABLE_SORT = "sort";

  /**
   * 排序升降
   */
  public static final String TABLE_ORDER = "order";


  public static final String SORT_ASCEND = "ascending";

  public static final String SORT_DESCEND = "descending";


  public static final String SIGN_PARAM = "sign";


  public static final String TIME_PARAM = "timeStamp";



}
